package com.teacher.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.teacher.common.CommonResult;
import com.teacher.pojo.dto.goodthings.GoodThingsGetDto;
import com.teacher.pojo.entity.GoodThings;
import com.baomidou.mybatisplus.extension.service.IService;
import com.teacher.pojo.vo.goodthings.GoodThingsGetVo;

/**
 * <p>
 * 好人好事-一条1分 服务类
 * </p>
 *
 * @author zfm
 * @since 2021-08-11
 */
public interface IGoodThingsService extends IService<GoodThings> {

    /**
     * 查询好人好事
     *
     * @param dto
     * @return
     */
    CommonResult<IPage<GoodThingsGetVo>> getPage(GoodThingsGetDto dto);
}
